package cn.waqwb.pojo;


public class Teacher {

  private Integer tid;
  private String tname;
  private Integer tage;

  @Override
  public String toString() {
    return "Teacher{" +
            "tid=" + tid +
            ", tname='" + tname + '\'' +
            ", tage=" + tage +
            '}';
  }

  public Integer getTid() {
    return tid;
  }

  public void setTid(Integer tid) {
    this.tid = tid;
  }

  public String getTname() {
    return tname;
  }

  public void setTname(String tname) {
    this.tname = tname;
  }

  public Integer getTage() {
    return tage;
  }

  public void setTage(Integer tage) {
    this.tage = tage;
  }

  public Teacher(Integer tid, String tname, Integer tage) {
    this.tid = tid;
    this.tname = tname;
    this.tage = tage;
  }

  public Teacher() {
  }
}
